Optimal. Leaf size=109 \[ -\frac{3 c \log (x) (b B-2 A c)}{b^5}+\frac{3 c (b B-2 A c) \log (b+c x)}{b^5}-\frac{b B-3 A c}{b^4 x}-\frac{c (2 b B-3 A c)}{b^4 (b+c x)}-\frac{c (b B-A c)}{2 b^3 (b+c x)^2}-\frac{A}{2 b^3 x^2} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.210658, antiderivative size = 109, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.118 \[ -\frac{3 c \log (x) (b B-2 A c)}{b^5}+\frac{3 c (b B-2 A c) \log (b+c x)}{b^5}-\frac{b B-3 A c}{b^4 x}-\frac{c (2 b B-3 A c)}{b^4 (b+c x)}-\frac{c (b B-A c)}{2 b^3 (b+c x)^2}-\frac{A}{2 b^3 x^2} \]
Antiderivative was successfully verified.
[In] Int[(A + B*x)/(b*x + c*x^2)^3,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 26.2903, size = 104, normalized size = 0.95 \[ - \frac{A}{2 b^{3} x^{2}} + \frac{c \left (A c - B b\right )}{2 b^{3} \left (b + c x\right )^{2}} + \frac{c \left (3 A c - 2 B b\right )}{b^{4} \left (b + c x\right )} + \frac{3 A c - B b}{b^{4} x} + \frac{3 c \left (2 A c - B b\right ) \log{\left (x \right )}}{b^{5}} - \frac{3 c \left (2 A c - B b\right ) \log{\left (b + c x \right )}}{b^{5}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((B*x+A)/(c*x**2+b*x)**3,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.145788, size = 106, normalized size = 0.97 \[ \frac{-\frac{b \left (A \left (b^3-4 b^2 c x-18 b c^2 x^2-12 c^3 x^3\right )+b B x \left (2 b^2+9 b c x+6 c^2 x^2\right )\right )}{x^2 (b+c x)^2}+6 c \log (x) (2 A c-b B)+6 c (b B-2 A c) \log (b+c x)}{2 b^5} \]
Antiderivative was successfully verified.
[In] Integrate[(A + B*x)/(b*x + c*x^2)^3,x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.019, size = 138, normalized size = 1.3 \[ -{\frac{A}{2\,{b}^{3}{x}^{2}}}+3\,{\frac{Ac}{{b}^{4}x}}-{\frac{B}{{b}^{3}x}}+6\,{\frac{A\ln \left ( x \right ){c}^{2}}{{b}^{5}}}-3\,{\frac{Bc\ln \left ( x \right ) }{{b}^{4}}}+{\frac{A{c}^{2}}{2\,{b}^{3} \left ( cx+b \right ) ^{2}}}-{\frac{Bc}{2\,{b}^{2} \left ( cx+b \right ) ^{2}}}-6\,{\frac{{c}^{2}\ln \left ( cx+b \right ) A}{{b}^{5}}}+3\,{\frac{c\ln \left ( cx+b \right ) B}{{b}^{4}}}+3\,{\frac{A{c}^{2}}{{b}^{4} \left ( cx+b \right ) }}-2\,{\frac{Bc}{{b}^{3} \left ( cx+b \right ) }} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((B*x+A)/(c*x^2+b*x)^3,x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 0.692438, size = 177, normalized size = 1.62 \[ -\frac{A b^{3} + 6 \,{\left (B b c^{2} - 2 \, A c^{3}\right )} x^{3} + 9 \,{\left (B b^{2} c - 2 \, A b c^{2}\right )} x^{2} + 2 \,{\left (B b^{3} - 2 \, A b^{2} c\right )} x}{2 \,{\left (b^{4} c^{2} x^{4} + 2 \, b^{5} c x^{3} + b^{6} x^{2}\right )}} + \frac{3 \,{\left (B b c - 2 \, A c^{2}\right )} \log \left (c x + b\right )}{b^{5}} - \frac{3 \,{\left (B b c - 2 \, A c^{2}\right )} \log \left (x\right )}{b^{5}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)/(c*x^2 + b*x)^3,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.295508, size = 304, normalized size = 2.79 \[ -\frac{A b^{4} + 6 \,{\left (B b^{2} c^{2} - 2 \, A b c^{3}\right )} x^{3} + 9 \,{\left (B b^{3} c - 2 \, A b^{2} c^{2}\right )} x^{2} + 2 \,{\left (B b^{4} - 2 \, A b^{3} c\right )} x - 6 \,{\left ({\left (B b c^{3} - 2 \, A c^{4}\right )} x^{4} + 2 \,{\left (B b^{2} c^{2} - 2 \, A b c^{3}\right )} x^{3} +{\left (B b^{3} c - 2 \, A b^{2} c^{2}\right )} x^{2}\right )} \log \left (c x + b\right ) + 6 \,{\left ({\left (B b c^{3} - 2 \, A c^{4}\right )} x^{4} + 2 \,{\left (B b^{2} c^{2} - 2 \, A b c^{3}\right )} x^{3} +{\left (B b^{3} c - 2 \, A b^{2} c^{2}\right )} x^{2}\right )} \log \left (x\right )}{2 \,{\left (b^{5} c^{2} x^{4} + 2 \, b^{6} c x^{3} + b^{7} x^{2}\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)/(c*x^2 + b*x)^3,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 3.54439, size = 219, normalized size = 2.01 \[ - \frac{A b^{3} + x^{3} \left (- 12 A c^{3} + 6 B b c^{2}\right ) + x^{2} \left (- 18 A b c^{2} + 9 B b^{2} c\right ) + x \left (- 4 A b^{2} c + 2 B b^{3}\right )}{2 b^{6} x^{2} + 4 b^{5} c x^{3} + 2 b^{4} c^{2} x^{4}} - \frac{3 c \left (- 2 A c + B b\right ) \log{\left (x + \frac{- 6 A b c^{2} + 3 B b^{2} c - 3 b c \left (- 2 A c + B b\right )}{- 12 A c^{3} + 6 B b c^{2}} \right )}}{b^{5}} + \frac{3 c \left (- 2 A c + B b\right ) \log{\left (x + \frac{- 6 A b c^{2} + 3 B b^{2} c + 3 b c \left (- 2 A c + B b\right )}{- 12 A c^{3} + 6 B b c^{2}} \right )}}{b^{5}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x+A)/(c*x**2+b*x)**3,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.276377, size = 167, normalized size = 1.53 \[ -\frac{3 \,{\left (B b c - 2 \, A c^{2}\right )}{\rm ln}\left ({\left | x \right |}\right )}{b^{5}} + \frac{3 \,{\left (B b c^{2} - 2 \, A c^{3}\right )}{\rm ln}\left ({\left | c x + b \right |}\right )}{b^{5} c} - \frac{6 \, B b c^{2} x^{3} - 12 \, A c^{3} x^{3} + 9 \, B b^{2} c x^{2} - 18 \, A b c^{2} x^{2} + 2 \, B b^{3} x - 4 \, A b^{2} c x + A b^{3}}{2 \,{\left (c x^{2} + b x\right )}^{2} b^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)/(c*x^2 + b*x)^3,x, algorithm="giac")
[Out]